﻿<Window x:Class="Farkhod.QuickDataViewer.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:local="clr-namespace:Farkhod.QuickDataViewer"
        Title="Quick Data Viewer by Farkhod" Height="300"  Width="350" WindowStartupLocation="CenterScreen" Loaded="Window_Loaded" Closed="Window_Closed">
    <Grid>
        <!--<TextBlock Margin="5, 5, 0, 0">Tables:</TextBlock>-->
        <DockPanel>
            <StackPanel>
                <StackPanel Orientation="Horizontal">
                    <TextBlock Margin="5,5,0,0" Name="tbDatabases">Database:</TextBlock>
                    <ComboBox Name="cbDatabases" Margin="5,5,0,0" SelectionChanged="cbDatabases_SelectionChanged" ></ComboBox>
                </StackPanel>
                <StackPanel Orientation="Horizontal">
                    <RadioButton x:Name="rbTables" Margin="5,5,0,0" IsChecked="True" Click="rbTables_Click" Content="Tables"/>
                    <RadioButton DockPanel.Dock="Top" Name="rbViews" Margin="10,5,0,0" IsChecked="False" Click="rbViews_Click">Views</RadioButton>
                </StackPanel>
            </StackPanel>
        </DockPanel>
        <ListBox Margin="5,50,5,25" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Name="lsTablesViews" ScrollViewer.VerticalScrollBarVisibility="Auto" MouseUp="lsTablesViews_MouseUp" >
        </ListBox>
        <StatusBar Margin="0,5,0,0" Name="sbInfo" VerticalAlignment ="Bottom" HorizontalAlignment="Left" Background="White" MaxWidth="700">
            <TextBlock Name="tbMessage" HorizontalAlignment="Left" VerticalAlignment="Center" TextAlignment="Left"></TextBlock>
            <Viewbox Width="25" Height="15" Name="vbProgress" Margin="5,0,0,0" VerticalAlignment="Center">
                <local:CircularProgressBar />
            </Viewbox>
        </StatusBar>
    </Grid>
</Window>
